package com.coship.vas.dapg.util;

import java.util.HashMap;
import java.util.Map;

public class ProcessAmBeanMap {

    Map<String, String> serviceMap = new HashMap<String, String>();
    private static ProcessAmBeanMap instance = new ProcessAmBeanMap();

    public static ProcessAmBeanMap getInstance() {
        return instance;
    }

    /**
     * 
     * @param key
     *            组成：version-name
     * @return
     */
    public String getService(String key) {

        return serviceMap.get(key);
    }

    public void setService(String key, String value) {
        serviceMap.put(key, value);
    }

    public void clearService() {
        serviceMap.clear();
    }

}
